<template>
  <div>
      商品类型
      <!-- <el-card class="box-card">
      <div>
        <span class="el-icon-goods"></span>
        <span> 商品类型数据列表</span>
        <el-button
          style="float: right"
          type="button"
          size="small"
          @click="goAddPage"
          >添加</el-button
        >
      </div>
    </el-card>
   <el-table   :data="listLie" border   style="width: 100%">
    <el-table-column prop="id" label="编号"   width="180">
    </el-table-column>
    <el-table-column  prop="name"  label="类型名称"    width="180">
    </el-table-column>
    <el-table-column  prop="first_letter"  label="属性数量">
    </el-table-column>   
     <el-table-column  prop=" product_unit"  label="参数数量">
    </el-table-column>
    <el-table-column  prop="address"  label="操作">
      <template slot-scope="scope" @click="delFun(scope.row.id)">
          <el-button size="small" 
            >编辑</el-button
          >
          <el-button type="danger" size="small" @click="delFun(scope.row.id)"
            >删除</el-button
          >
        </template>

         
    </el-table-column>

  </el-table>  -->
  </div>
</template>

<script>
//import { LieXing} from "@/api/product";
//import axios from "axios"
export default {
  name:"productAttr",
  //  data:function(){
  //    return {
  //      listLie:[],
  //      }
  //   },
//    mounted(){
//     this.getLieXing()
//   },
  //methods:{
//       async getLieXing() {
//       var res = await LieXing();
//       console.log(res);
//       // this.brandOptions = res.data;
         
 //     mounted(){
//         axios.get("http://yinruifang.cn/index/Api/update_product_attr").then((res)=>{
//           console.log(res)
//           this.guanLi = res.data.data
//         })
// }
    //},
 // },
 
  
 }
 
</script>

<style>

</style>